//
//  DismountPartsCell.m
//  TrunkIndustryManageSystem
//
//  Created by WT_lyy on 15/4/29.
//  Copyright (c) 2015年 李璐西. All rights reserved.
//

#import "DismountPartsCell.h"
#import "BiFittingInfoEntity.h"
@interface DismountPartsCell(){

    __weak IBOutlet UILabel *_labPartsName;
    
    __weak IBOutlet UILabel *_labPartsCount;
    __weak IBOutlet UILabel *_labDismountTime;
    __weak IBOutlet UILabel *_labRecoryTime;
    __weak IBOutlet UILabel *_labImageNo;
    __weak IBOutlet UILabel *_labYanshou;
}

@end

@implementation DismountPartsCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

//@property (nonatomic,strong) NSString *  acceptanceDate;
//
//@property (nonatomic,strong) NSString *  dismountId;
//@property (nonatomic,strong) NSString *  dismountReason;
//@property (nonatomic,strong) NSString *  expectedRecoverDate;
//@property (nonatomic,strong) NSString *  isAcceptance;
//
//@property (nonatomic,strong) NSString *  piecemealDate;
//@property (nonatomic,strong) NSString *  productCount;
//@property (nonatomic,strong) NSString *  productDrawNumber;
//@property (nonatomic,strong) NSString *  productName;
//
//@property (nonatomic,strong) NSString *  recoverDate;

- (void)fittingDataFill:(BiFittingInfoEntity *)entity{

    _labPartsName.text = entity.productName;
    _labPartsCount.text = entity.productCount;
    
    _labDismountTime.text = entity.piecemealDate;
    _labRecoryTime.text = entity.expectedRecoverDate;
    _labImageNo.text = entity.productDrawNumber;
    
    if ([entity.isAcceptance boolValue]) {
        _labYanshou.text = @"是";
    }else{
        _labYanshou.text = @"否";
    }

}

@end
